package com.tjetc.service;

import com.github.pagehelper.PageInfo;
import com.tjetc.entity.Activity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;


public interface IActivityService extends IService<Activity> {


    PageInfo<Activity> lists(Integer curPage, Integer pageSize, Integer typeId, String name, Integer tribeId,Integer applyId);

    boolean add(Activity activity, MultipartFile photo);

    boolean updates(Activity activity, MultipartFile photo);

    boolean check(Integer id);

}
